<!DOCTYPE html>
<html>
    <head>
        <title>Issue 5859: Delete &quot;element.style&quot; is broken</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <link href="../../../_common/testcase.css" type="text/css" rel="stylesheet"/>
        <style type="text/css">
        #element {
            width: 100px;
            height: 100px;
            background: #8C8CFF -moz-linear-gradient(135deg, #788CFF, #B4C8FF);
            line-height: 100px;
            text-align: center;
        }
        </style>
    </head>
    <body>
        <header>
            <h1><a href="http://code.google.com/p/fbug/issues/detail?id=5859">Issue 5859</a>: Delete &quot;element.style&quot; is broken</h1>
        </header>
        <div>
            <section id="content">
                <div id="element" style="color: yellow;">Text</div>
            </section>
            <section id="description">
                <h3>Steps to reproduce</h3>
                <ol>
                    <li>Open Firebug</li>
                    <li>
                        Switch to the <em>HTML</em> panel and there to the <em>Style</em> side
                        panel
                    </li>
                    <li>
                        Inspect the blue <code>&lt;div&gt;</code> (<code>#element</code>) above
                    </li>
                    <li>
                        Right-click the <code>element.style</code> rule inside the <em>Style</em>
                        side panel and choose <em>Delete 'element.style'</em> from the context menu
                    </li>
                </ol>
                <h3>Expected result</h3>
                <ul>
                    <li>The rule should be removed from the <em>Style</em> side panel.</li>
                    <li>The color of the text inside the blue <code>&lt;div&gt;</code> should be black instead of yellow.</li>
                </ul>
            </section>
            <footer>Sebastian Zartner, sebastianzartner@gmail.com</footer>
        </div>
    </body>
</html>
